package com.example.pufang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.PageParamRequest;
import com.example.pufang.pojo.Report;
import com.example.pufang.pojo.User;
import com.example.pufang.vo.PageListVo;
import com.example.pufang.vo.ReportAdminDetailVo;

public interface ReportService extends IService<Report> {

    Boolean submitReport(Report report, User user);

    PageListVo getListByPage(PageParamRequest pageParamRequest, String searchName, String searchReason);

    ReportAdminDetailVo getDetail(String reportId);

    Boolean passReport(String reportId, Integer adminId);

    Boolean refuseReport(String reportId, Integer adminId);

}
